package com.foogui.utils;

import java.util.concurrent.TimeUnit;

public interface ILock {

    boolean tryLock(String lockName,Long timeout, TimeUnit timeUnit);

    void unlock(String lockName);
}
